﻿<%@ Page Title="" Language="VB" MasterPageFile="~/Devida/Siste.master" AutoEventWireup="false" CodeFile="Reporte1.aspx.vb" Inherits="Devida_Reporte1" Theme="Yahoo-Ocean" %>

<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="cc1" %>
<%@ Register src="ucAlerta.ascx" TagName="Alerta" TagPrefix="uc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
  <base target="_self" />
    <link href="../css/EstilosFrm.css" type="text/css" rel="stylesheet" /> 
    <link href="../css/i_consultas.css" type="text/css" rel="stylesheet" />
    <link href="../css/diseno.css" type="text/css" rel="Stylesheet" />
    <link href="../css/style2.css" type="text/css" rel="stylesheet" />
    <link href="../css/StyleSheet.css" type="text/css" rel="stylesheet" />
 <style type="text/css">
        .cabecera
        {
            HEIGHT: 20px;
            padding-left: 10px;
            padding-top: 3px;
            font-size: 11px;
            font-weight: bolder;
            font-family: Arial, Helvetica, sans-serif;
        }
        </style>

    <%--Script Google Analitic--%>
    <script>
        (function (i, s, o, g, r, a, m) {
            i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () {
                (i[r].q = i[r].q || []).push(arguments)
            }, i[r].l = 1 * new Date(); a = s.createElement(o),
            m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m)
        })(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');

        ga('create', 'UA-46218526-1', 'simdev.gob.pe');
        ga('send', 'pageview');

    </script>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cph_name" Runat="Server">
    <asp:Label ID="lb_name" runat="server" Font-Names="Arial" Font-Size="17px" ForeColor="White" Text="Reporte Avance Financiero Semanal" Font-Bold="True"></asp:Label>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div id="Principal" style="width:900px;">
<fieldset id="fsPrincipal" runat="server" style="width:100%; height:200px; border:1px solid #99aabd">   

<table style="width:900px; padding-left:5px; text-align:left;" cellpadding="0" cellspacing="0">
<tr>
<td style="width:120px;"><asp:Label ID="label1" runat="server" CssClass="label" >PPER: </asp:Label></td>
<td><asp:DropDownList ID="ddlPPER" runat="server" CssClass="ddl" Width="120px" AutoPostBack="true"></asp:DropDownList></td><td></td><td></td><td></td>
</tr>
<tr>
<td><asp:Label ID="Label2" runat="server" CssClass="label" >Periodo: </asp:Label></td><td colspan="4"><asp:DropDownList ID="ddlPeriodo" runat="server" CssClass="ddl" AutoPostBack="true"></asp:DropDownList></td>
</tr>
<tr>
<td><asp:Label ID="Label3" runat="server" CssClass="label" >Región: </asp:Label></td><td><asp:DropDownList ID="ddlRegion" runat="server" CssClass="ddl" Width="120px" AutoPostBack="true"></asp:DropDownList></td><td></td><td></td><td></td>
</tr>
<tr>
<td><asp:Label ID="Label5" runat="server" CssClass="label" >Ambito: </asp:Label></td><td><asp:DropDownList ID="ddlAmbito" runat="server" CssClass="ddl" Width="120px" AutoPostBack="true"></asp:DropDownList></td><td></td><td></td><td></td>
</tr>
<tr>
<td><asp:Label ID="Label7" runat="server" CssClass="label" >Ejecutor: </asp:Label></td><td><asp:DropDownList ID="ddlEjecutor" runat="server" CssClass="ddl" Width="250px" AutoPostBack="true"></asp:DropDownList></td><td></td><td></td><td></td>
</tr>
<tr>
<td><asp:Label ID="Label9" runat="server" CssClass="label" >Tipo de Componente: </asp:Label></td><td><asp:DropDownList ID="ddlTipo" runat="server" CssClass="ddl" Width="120px" AutoPostBack="true"></asp:DropDownList></td><td></td><td></td><td></td>
</tr>
<tr>
<td><asp:Label ID="Label11" runat="server" CssClass="label" >Semáforo: </asp:Label></td><td><asp:DropDownList ID="ddlSemaforo" runat="server" CssClass="ddl" Width="120px" AutoPostBack="true"></asp:DropDownList></td><td></td><td></td><td></td>
</tr>
<tr>
<td><asp:Label ID="Label4" runat="server" CssClass="label" >Especialista: </asp:Label></td><td><asp:DropDownList ID="ddlEspecialista" runat="server" CssClass="ddl" Width="120px" AutoPostBack="true"></asp:DropDownList></td><td></td><td></td><td></td>
</tr>
<tr>
<td><asp:Label ID="Label6" runat="server" CssClass="label" >Monitoreador: </asp:Label></td><td><asp:DropDownList ID="ddlMonitoreador" runat="server" CssClass="ddl" Width="120px" AutoPostBack="true"></asp:DropDownList></td><td></td><td></td><td></td>
</tr>
</table>
   
</fieldset>
<table style="width:920px">
<tr>
<td align="left" style="width:150px">
<asp:ImageButton ID="btnGenerar" runat="server" ToolTip="Generar Avance Financiero Semanal" ImageUrl="~/Imagenes/btnGenerar.png" style="height: 23px"  />                               
</td>
<td align="left">
<asp:UpdatePanel ID="upExportar" runat="server" >
<ContentTemplate>
<asp:ImageButton ID="btnExportar" runat="server" ToolTip="Exportar Reporte" ImageUrl="~/Imagenes/btnExportar.png" style="height: 23px"  /> 
</ContentTemplate>
<Triggers>
<asp:PostBackTrigger ControlID="btnGenerar" />
<asp:PostBackTrigger ControlID="btnExportar" />
</Triggers>
</asp:UpdatePanel>
</td>
<td align="right">
<asp:ImageButton ID="btnCerrar" runat="server"  ImageUrl="~/Imagenes/btnSalir.png" ToolTip="Salir" />
</td>
</tr>
</table>
<div id="DivReporte" runat="server" style="width:100%; display: none " >
<fieldset id="Fieldset1" runat="server" style="width:100%; text-align:left; border:1px solid #99aabd">    

<table style="width:900px; padding-left:5px; text-align:left;" cellpadding="0" cellspacing="0">
<tr><td colspan="2" align="center"><asp:Label ID="label21" runat="server" CssClass="i_Titulo_formulario_02" >Reporte de avance financiero sobre programas presupuestales PPER </asp:Label></td></tr>
<tr><td colspan="2" align="center"><asp:Label ID="lblFechaTitulo" runat="server" CssClass="i_Titulo_formulario_02" ></asp:Label></td></tr>
<tr><td colspan="2" align="center"><asp:Label ID="lblComentario" runat="server" CssClass="label" ></asp:Label></td></tr>
<tr>
<td style="width:120px;"><asp:Label ID="label8" runat="server" CssClass="label" >PPER: </asp:Label></td><td style="width:780px;"><asp:Label ID="lblPPER" runat="server" CssClass="txt" ></asp:Label></td>
</tr>
<tr>
<td><asp:Label ID="Label12" runat="server" CssClass="label" >Región: </asp:Label></td><td><asp:Label ID="lblRegion" runat="server" CssClass="txt"></asp:Label></td>
</tr>
<tr>
<td><asp:Label ID="Label13" runat="server" CssClass="label" >Ambito: </asp:Label></td><td><asp:Label ID="lblAmbito" runat="server" CssClass="txt" ></asp:Label></td>
</tr>
<tr>
<td><asp:Label ID="Label14" runat="server" CssClass="label" >Ejecutor: </asp:Label></td><td><asp:Label ID="lblEjecutor" runat="server" CssClass="txt"  ></asp:Label></td>
</tr>
<tr>
<td><asp:Label ID="Label15" runat="server" CssClass="label" >Tipo de Componente: </asp:Label></td><td><asp:Label ID="lblTipo" runat="server" CssClass="txt" ></asp:Label></td>
</tr>
<tr>
<td><asp:Label ID="Label16" runat="server" CssClass="label" >Semáforo: </asp:Label></td><td><asp:Label ID="lblSemaforo" runat="server" CssClass="txt" ></asp:Label></td>
</tr>
<tr>
<td><asp:Label ID="Label17" runat="server" CssClass="label" >Especialista: </asp:Label></td><td><asp:Label ID="lblEspecialista" runat="server" CssClass="txt" ></asp:Label></td>
</tr>
<tr>
<td><asp:Label ID="Label18" runat="server" CssClass="label" >Monitoreador: </asp:Label></td><td><asp:Label ID="lblMonitoreador" runat="server" CssClass="txt" ></asp:Label></td>
</tr>
</table>
<br />
<%-----AVANCE FINANCIERO POR PPER-----%>
<table style="width:900px;" cellpadding="0" cellspacing="0">
<tr>
<td style="width:546px; font-weight:bold; text-align:left; font-size:small;">Avance financiero por PPER</td>
<td style="width:177px; background-color:#DCE6F1;" class="cabezera_grid" ><asp:label ID="Label19" runat="server" Text="% Avance Devengado" Font-Bold="True"></asp:label></td>
<td style="background-color:#DCE6F1;" class="cabezera_grid"><asp:label ID="Label20" runat="server" Text="% Avance Girado" Font-Bold="True"></asp:label></td>
</tr>
<tr><td colspan="3">
<asp:GridView ID="gvPPER" runat="server" GridLines="Both" Width="900px" AutoGenerateColumns="false" BorderColor="#777777" BorderStyle="Solid" BorderWidth="1px">
<Columns>
    <asp:BoundField DataField="DESCRIPCION" HeaderText="" ItemStyle-Width="90px" ItemStyle-HorizontalAlign="Left" ></asp:BoundField>
    <asp:BoundField DataField="MONTO_PRESUPUESTADO" HeaderText="Presupuesto Modificado" ItemStyle-Width="90px" DataFormatString="{0:n0}" ItemStyle-HorizontalAlign="Right"></asp:BoundField>
    <asp:BoundField DataField="MONTO_PROGRAMADO" HeaderText="Programado al mes reportado" ItemStyle-Width="90px" DataFormatString="{0:n0}" ItemStyle-HorizontalAlign="Right"></asp:BoundField>
    <asp:BoundField DataField="MONTO_COMPROMETIDO" HeaderText="Comprometido" ItemStyle-Width="90px" DataFormatString="{0:n0}" ItemStyle-HorizontalAlign="Right"></asp:BoundField>
    <asp:BoundField DataField="MONTO_DEVENGADO" HeaderText="Devengado" ItemStyle-Width="90px" DataFormatString="{0:n0}" ItemStyle-HorizontalAlign="Right"></asp:BoundField>
    <asp:BoundField DataField="MONTO_GIRADO" HeaderText="Girado" ItemStyle-Width="90px" DataFormatString="{0:n0}" ItemStyle-HorizontalAlign="Right"></asp:BoundField>
    <asp:BoundField DataField="DEVENGADO_MES" HeaderText="Al mes" ItemStyle-Width="90px" DataFormatString="{0:P0}" ItemStyle-HorizontalAlign="Right"></asp:BoundField>
    <asp:BoundField DataField="DEVENGADO_ANUAL" HeaderText="Anual" ItemStyle-Width="90px" DataFormatString="{0:P0}" ItemStyle-HorizontalAlign="Right"></asp:BoundField>
    <asp:BoundField DataField="GIRADO_MES" HeaderText="Al mes" ItemStyle-Width="90px" DataFormatString="{0:P0}" ItemStyle-HorizontalAlign="Right"></asp:BoundField>
    <asp:BoundField DataField="GIRADO_ANUAL" HeaderText="Anual" ItemStyle-Width="90px" DataFormatString="{0:P0}" ItemStyle-HorizontalAlign="Right"></asp:BoundField>
</Columns>
    <RowStyle BorderColor="Black" BorderStyle="Solid" BorderWidth="1px" />
</asp:GridView>
</td></tr>
</table>
<br />
<%---------------Charts---------------%>
<table style="width:900px;" cellpadding="0" cellspacing="0">
<tr>
<td style="width:5px;"></td>
<td>
<fieldset style="border:1px solid #99aabd; margin:0 0 0 0; padding: 0 0 0 0; width:440px; text-align:center" >
    <asp:Chart ID="Chart1" runat="server" BorderlineWidth="0" AlternateText="1" 
        Width="440px" Height="240px" >
        <series>
            <asp:Series Name="Avance al mes" XValueType="Double" YValueType="Int32" 
                ToolTip="Avance al mes" >            
            </asp:Series>
            <asp:Series Name="Avance Anual" XValueType="Double" YValueType="Int32" ToolTip="Avance Anual" >
            </asp:Series>
        </series>                
        <chartareas>
            <asp:ChartArea Name="ChartArea1" >
            <axisy Interval="0.1" Minimum="0" Maximum="1" LineColor="64, 64, 64, 64"  LabelAutoFitMaxFontSize="8">
			<LabelStyle Font="Trebuchet MS, 8.25pt, style=Bold" Format="P0" />
			<MajorGrid LineColor="64, 64, 64, 64" />
		    </axisy>
		    <axisx Interval="2" Minimum="0" LineColor="64, 64, 64, 64"  LabelAutoFitMaxFontSize="8">
			<LabelStyle Font="Trebuchet MS, 8.25pt, style=Bold" IsEndLabelVisible="False" Format="MM-dd" />
            <StripLines > <asp:StripLine StripWidthType= "Auto" /></StripLines>
			<MajorGrid LineColor="64, 64, 64, 64" />
		    </axisx>
            </asp:ChartArea>
        </chartareas>
        <Legends>
            <asp:Legend BorderDashStyle="Solid" Name="Avance" TitleFont="Microsoft Sans Serif, 8.25pt">
            </asp:Legend>
        </Legends>
        <Titles>
            <asp:Title Name="Title1" >
            </asp:Title>
        </Titles>
    </asp:Chart>
</fieldset>
</td>
<td ></td>
<td>
<fieldset style="border:1px solid #99aabd; margin:0 0 0 0; padding: 0 0 0 0; width:440px; text-align:center" >
    <asp:Chart ID="Chart2" runat="server" BorderlineWidth="1" AlternateText="1" Width="440px" Height="240px" >
        <series>
            <asp:Series Name="Avance al mes" XValueType="Double" YValueType="Int32" >
            </asp:Series>
            <asp:Series Name="Avance Anual" XValueType="Double" YValueType="Int32" >
            </asp:Series>
        </series>
        <chartareas>
            <asp:ChartArea Name="ChartArea1" BorderColor="Black" BorderWidth="1" ShadowColor="White">
               <AxisX Interval="2" >
            </AxisX>
            <AxisY Interval="0.1" Minimum="0" Maximum="1" LineColor="64, 64, 64, 64"  LabelAutoFitMaxFontSize="8">
			<LabelStyle Font="Trebuchet MS, 8.25pt, style=Bold" Format="P0" />
			<MajorGrid LineColor="64, 64, 64, 64" /></AxisY>
            <AxisX Interval="2" LineColor="64, 64, 64, 64"  LabelAutoFitMaxFontSize="8">
			<LabelStyle Font="Trebuchet MS, 8.25pt, style=Bold"  />
            <StripLines > <asp:StripLine StripWidthType= "Auto" /></StripLines>
			<MajorGrid LineColor="64, 64, 64, 64" /></AxisX>
            </asp:ChartArea>
        </chartareas>
        <Legends>
            <asp:Legend BorderDashStyle="Solid" Name="Avance" TitleFont="Microsoft Sans Serif, 8.25pt">
            </asp:Legend>
        </Legends>
        <Titles>
            <asp:Title Name="Title1">
            </asp:Title>
        </Titles>
    </asp:Chart>
</fieldset>
</td>
<td style="width:5px;"></td>
</tr>
<tr>
<td colspan="5">&nbsp</td>
</tr>
<tr>
<td style="width:5px;"></td>
<td>
<fieldset style="border:1px solid #99aabd; margin:0 0 0 0; padding: 0 0 0 0; width:440px; text-align:center" >
    <asp:Chart ID="Chart3" runat="server" BorderlineWidth="0" AlternateText="1" Width="440px" Height="240px" >
        <series>
            <asp:Series Name="Avance al mes" XValueType="Double" YValueType="Int32" >
            </asp:Series>
            <asp:Series Name="Avance Anual" XValueType="Double" YValueType="Int32" >
            </asp:Series>
        </series>
        <chartareas>        
            <asp:ChartArea Name="ChartArea1" BorderColor="Transparent" BorderWidth="1" ShadowColor="White" >    
            <AxisY Interval="0.1" Minimum="0" Maximum="1" LineColor="64, 64, 64, 64"  LabelAutoFitMaxFontSize="8">
			<LabelStyle Font="Trebuchet MS, 8.25pt, style=Bold" Format="P0" />
			<MajorGrid LineColor="64, 64, 64, 64" />
            </AxisY>
            <AxisX LineColor="64, 64, 64, 64"  LabelAutoFitMaxFontSize="8">
			<LabelStyle Font="Trebuchet MS, 8.25pt, style=Bold" IsEndLabelVisible="False" Format="MM-dd" />
            <StripLines > <asp:StripLine StripWidthType= "Auto" /></StripLines>
			<MajorGrid LineColor="64, 64, 64, 64" />
            </AxisX>
            </asp:ChartArea>
        </chartareas>
        <Legends>
            <asp:Legend BorderDashStyle="Solid" Name="Avance" TitleFont="Microsoft Sans Serif, 8.25pt" ItemColumnSeparatorColor="Transparent">
            </asp:Legend>
        </Legends>
        <Titles>
            <asp:Title Name="Title1">
            </asp:Title>
        </Titles>
    </asp:Chart>
</fieldset>
</td>
<td ></td>
<td>
<fieldset style="border:1px solid #99aabd; margin:0 0 0 0; padding: 0 0 0 0; width:440px; text-align:center;" >
    <asp:Chart ID="Chart4" runat="server" BorderlineWidth="0" AlternateText="1" Width="440px" Height="240px" >
        <series>
            <asp:Series Name="Avance al mes" XValueType="Double" YValueType="Int32" MarkerBorderColor="Green" >
            </asp:Series>
            <asp:Series Name="Avance Anual" XValueType="Double" YValueType="Int32" >
            </asp:Series>
        </series>
        <chartareas>
            <asp:ChartArea Name="ChartArea1" >
            <AxisY Interval="0.1" Minimum="0" Maximum="1" LineColor="64, 64, 64, 64"  LabelAutoFitMaxFontSize="8">
			<LabelStyle Font="Trebuchet MS, 8.25pt, style=Bold" Format="P0" />
			<MajorGrid LineColor="64, 64, 64, 64" /></AxisY>
            <AxisX LineColor="64, 64, 64, 64"  LabelAutoFitMaxFontSize="8">
			<LabelStyle Font="Trebuchet MS, 8.25pt, style=Bold" IsEndLabelVisible="False" Format="MM-dd" />
            <StripLines > <asp:StripLine StripWidthType= "Auto" /></StripLines>
			<MajorGrid LineColor="64, 64, 64, 64" /></AxisX>
            </asp:ChartArea>
        </chartareas>
        <Legends>
            <asp:Legend Name="Avance" TitleFont="Microsoft Sans Serif, 8.25pt">
            </asp:Legend>
        </Legends>
        <Titles>
            <asp:Title Name="Title1">
            </asp:Title>
        </Titles>
    </asp:Chart>
</fieldset>
</td>
<td style="width:5px;"></td>
</tr>
</table>
<%--AVANCE FINANCIERO POR COMPONENTE--%>
<table style="width:900px;" cellpadding="0" cellspacing="0">
<tr>
<td colspan="3">&nbsp</td>
</tr>
<tr>
<td style="width:546px; font-weight:bold; text-align:left; font-size:small;">Avance financiero por componente</td>
<td style="width:177px;" class="cabezera_grid" ><asp:label ID="lblDev" runat="server" Text="% Avance Devengado" Font-Bold="True"></asp:label></td>
<td class="cabezera_grid"><asp:label ID="lblGir" runat="server" Text="% Avance Girado" Font-Bold="True"></asp:label></td>
</tr>
<tr><td colspan="3">
<asp:GridView ID="gv_Componente" runat="server" GridLines="Both" Width="900px" AutoGenerateColumns="false" 
BorderColor="#777777" BorderStyle="Solid" BorderWidth="1px">
<Columns>
    <asp:BoundField DataField="DESCRIPCION" HeaderText="" ItemStyle-Width="90px" ItemStyle-HorizontalAlign="Left" ></asp:BoundField>
    <asp:BoundField DataField="MONTO_PRESUPUESTADO" HeaderText="Presupuesto Modificado" ItemStyle-Width="90px" DataFormatString="{0:n0}" ItemStyle-HorizontalAlign="Right"></asp:BoundField>
    <asp:BoundField DataField="MONTO_PROGRAMADO" HeaderText="Programado al mes reportado" ItemStyle-Width="90px" DataFormatString="{0:n0}" ItemStyle-HorizontalAlign="Right"></asp:BoundField>
    <asp:BoundField DataField="MONTO_COMPROMETIDO" HeaderText="Comprometido" ItemStyle-Width="90px" DataFormatString="{0:n0}" ItemStyle-HorizontalAlign="Right"></asp:BoundField>
    <asp:BoundField DataField="MONTO_DEVENGADO" HeaderText="Devengado" ItemStyle-Width="90px" DataFormatString="{0:n0}" ItemStyle-HorizontalAlign="Right"></asp:BoundField>
    <asp:BoundField DataField="MONTO_GIRADO" HeaderText="Girado" ItemStyle-Width="90px" DataFormatString="{0:n0}" ItemStyle-HorizontalAlign="Right"></asp:BoundField>
    <asp:BoundField DataField="DEVENGADO_MES" HeaderText="Al mes" ItemStyle-Width="90px" DataFormatString="{0:P0}" ItemStyle-HorizontalAlign="Right"></asp:BoundField>
    <asp:BoundField DataField="DEVENGADO_ANUAL" HeaderText="Anual" ItemStyle-Width="90px" DataFormatString="{0:P0}" ItemStyle-HorizontalAlign="Right"></asp:BoundField>
    <asp:BoundField DataField="GIRADO_MES" HeaderText="Al mes" ItemStyle-Width="90px" DataFormatString="{0:P0}" ItemStyle-HorizontalAlign="Right"></asp:BoundField>
    <asp:BoundField DataField="GIRADO_ANUAL" HeaderText="Anual" ItemStyle-Width="90px" DataFormatString="{0:P0}" ItemStyle-HorizontalAlign="Right"></asp:BoundField>
</Columns>
<HeaderStyle CssClass="cabezera_grid" BorderColor="Black" BorderStyle="Solid" BorderWidth="1px"></HeaderStyle>
    <RowStyle BorderColor="Black" BorderStyle="Solid" BorderWidth="1px" />
</asp:GridView>
</td></tr>
</table>

<%--INDICADOR SEMAFORO POR PPER--%>
<table style="width:900px;" cellpadding="0" cellspacing="0" >
<tr>
<td colspan="6">&nbsp</td>
</tr>
<tr>
<td colspan="6" style="width:900px; font-weight:bold; text-align:left; font-size:small;">Indicador Semáforo por PPER</td>
</tr>
<tr style="border: 1px solid #000000; text-align:center" >
<td style="width:80px;">&nbsp;</td>
<td style="width:160px;" class="cabezera_verde"><asp:label ID="Label10" runat="server" Text="VERDE" Font-Bold="True"></asp:label></td>
<td style="width:160px;" class="cabezera_ambar"><asp:label ID="Label22" runat="server" Text="AMBAR" Font-Bold="True"></asp:label></td>
<td style="width:160px;" class="cabezera_rojo"><asp:label ID="Label25" runat="server" Text="ROJO" Font-Bold="True"></asp:label></td>
<td style="width:80px" class="cabezera_grid"><asp:label ID="Label24" runat="server" Text="Totales" Font-Bold="True"></asp:label></td>
</tr>
<tr><td colspan="6">
<asp:GridView ID="gvSemaforo" runat="server" GridLines="Both" Width="900px" AutoGenerateColumns="false" 
BorderColor="#777777" BorderStyle="Solid" BorderWidth="1px">
<Columns>
    <asp:BoundField DataField="ABREVIATURA" HeaderText="" ItemStyle-Width="80px" ItemStyle-HorizontalAlign="Left" ></asp:BoundField>
    <asp:BoundField DataField="VERDE" HeaderText="N°" ItemStyle-Width="80px" DataFormatString="{0:N0}" ItemStyle-HorizontalAlign="Right"></asp:BoundField>
    <asp:BoundField DataField="PORC_VERDE" HeaderText="%" ItemStyle-Width="80px" DataFormatString="{0:P0}" ItemStyle-HorizontalAlign="Right"></asp:BoundField>
    <asp:BoundField DataField="AMBAR" HeaderText="N°" ItemStyle-Width="80px" DataFormatString="{0:N0}" ItemStyle-HorizontalAlign="Right"></asp:BoundField>
    <asp:BoundField DataField="PORC_AMBAR" HeaderText="%" ItemStyle-Width="80px" DataFormatString="{0:P0}" ItemStyle-HorizontalAlign="Right"></asp:BoundField>
    <asp:BoundField DataField="ROJO" HeaderText="N°" ItemStyle-Width="80px" DataFormatString="{0:N0}" ItemStyle-HorizontalAlign="Right"></asp:BoundField>
    <asp:BoundField DataField="PORC_ROJO" HeaderText="%" ItemStyle-Width="80px" DataFormatString="{0:P0}" ItemStyle-HorizontalAlign="Right"></asp:BoundField>    
    <asp:BoundField DataField="TOTAL" HeaderText="" ItemStyle-Width="80px" DataFormatString="{0:N0}" ItemStyle-HorizontalAlign="Right"></asp:BoundField>
</Columns>
<HeaderStyle CssClass="cabezera_grid" BorderColor="Black" BorderStyle="Solid" BorderWidth="1px"></HeaderStyle>
    <RowStyle BorderColor="Black" BorderStyle="Solid" BorderWidth="1px" />
</asp:GridView>
</td></tr>
</table>
<br />
<br />

<%--INDICADOR SEMAFORO TODOS LOS PPER--%>
<table style="width:900px;" cellpadding="0" cellspacing="0">
<tr>
<td style="width:5px">
</td>
<td>
<fieldset style="border:1px solid #99aabd; margin:0 0 0 0; padding: 0 0 0 0; width:400px; text-align:center" >
    <asp:Chart ID="Chart5" runat="server" BorderlineWidth="0" AlternateText="1" Width="400px" Height="240px"  >    
        <series>
            <asp:Series Name="SEMAFORO" XValueType="Double" YValueType="Int32" 
                ChartType="Pie" >                
            </asp:Series>                   
        </series>
        <chartareas>        
            <asp:ChartArea Name="ChartArea1" BorderColor="Transparent" BorderWidth="1" ShadowColor="White" >             
            <AxisX LineColor="64, 64, 64, 64"  LabelAutoFitMaxFontSize="8">
			<LabelStyle Font="Trebuchet MS, 8.25pt, style=Bold" IsEndLabelVisible="False" Format="P0"/>
            <StripLines > <asp:StripLine StripWidthType= "Auto" /></StripLines>
			<MajorGrid LineColor="64, 64, 64, 64" /></AxisX>
            <AxisY Interval="0.1" Minimum="0" Maximum="1" LineColor="64, 64, 64, 64"  LabelAutoFitMaxFontSize="8">
			<LabelStyle Font="Trebuchet MS, 8.25pt, style=Bold" Format="P0" />
			<MajorGrid LineColor="64, 64, 64, 64" />
            </AxisY>              
            </asp:ChartArea>
        </chartareas>     
        <Titles>
            <asp:Title Name="Title1">
            </asp:Title>
        </Titles>
    </asp:Chart>
</fieldset>
</td>
<td>
</td>
<td>
<fieldset style="border:1px solid #99aabd; margin:0 0 0 0; padding: 0 0 0 0; width:480px; text-align:center;" >
    <asp:Chart ID="Chart6" runat="server" BorderlineWidth="0" AlternateText="1" Width="480px" Height="240px" >
        <series>
            <asp:Series Name="VERDE" XValueType="Double" YValueType="Int32" MarkerBorderColor="Green" >
            </asp:Series>
            <asp:Series Name="AMBAR" XValueType="Double" YValueType="Int32" >
            </asp:Series>
            <asp:Series Name="ROJO" XValueType="Double" YValueType="Int32" MarkerBorderColor="Green" >
            </asp:Series>            
        </series>
        <chartareas>
            <asp:ChartArea Name="ChartArea1" >
            <AxisY Interval="0.1" Minimum="0" Maximum="1" LineColor="64, 64, 64, 64"  LabelAutoFitMaxFontSize="8">
			<LabelStyle Font="Trebuchet MS, 8.25pt, style=Bold" Format="P0" />
			<MajorGrid LineColor="64, 64, 64, 64" /></AxisY>
            <AxisX LineColor="64, 64, 64, 64"  LabelAutoFitMaxFontSize="8">
			<LabelStyle Font="Trebuchet MS, 8.25pt, style=Bold" IsEndLabelVisible="False" Format="MM-dd" />
            <StripLines > <asp:StripLine StripWidthType= "Auto" /></StripLines>
			<MajorGrid LineColor="64, 64, 64, 64" /></AxisX>
            </asp:ChartArea>
        </chartareas>
        <Legends>
            <asp:Legend Name="Avance" TitleFont="Microsoft Sans Serif, 8.25pt">
            </asp:Legend>
        </Legends>
        <Titles>
            <asp:Title Name="Title1">
            </asp:Title>
        </Titles>
    </asp:Chart>
</fieldset>
</td>
<td style="width:5px">
</td>
</tr>
</table>

</fieldset>
</div>   
</div>
 <uc1:Alerta ID="alerta" runat="server"></uc1:Alerta>
</asp:Content>

